package com.springboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.springboot.controller.utils.R;
import com.springboot.domain.Book;

import java.util.List;

public interface BookService {
    IPage getAll(Integer currentPage, Integer pageSize,Book book);

    void insert(Book book);

    void updateById(Book book);

    Book getById(Integer id);

    void deleteById(Integer id);
}
